package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("药品分页请求")
public class DrugPageReq {
    @ApiModelProperty(required = true, name = "pageSize", value = "每页个数 不传递默认10")
    private Integer pageSize = 10;

    @ApiModelProperty(required = true, name = "pageNum", value = "当前页 默认第一页")
    private Integer pageNum = 1;

    @ApiModelProperty("药品名称")
    private String drugName;

    @ApiModelProperty(value = "药品编码")
    private String drugCode;

    @ApiModelProperty("条形码")
    private String barCode;

    @ApiModelProperty(value = "分类")
    private List<String> classificationName = new LinkedList<>();

    @ApiModelProperty(value = "父分类管理id")
    private Long classifiedManagementId;

    @ApiModelProperty(value = "子分类管理id")
    private Long sonClassifiedManagementId;

    @ApiModelProperty(value = "上架状态 true上架 false 下架")
    private Boolean state;

    @ApiModelProperty(value = "商品id集合")
    private List<Long> drugIdList;

    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /**
     * 是否处方药 true是 false不是
     */
    @ApiModelProperty("是否处方药 true是 false不是")
    private Boolean prescriptionDrug;
}